LIBEXPTCL

Section: C Library Functions (3)
Updated: 30 December 1992
Index Return to Main Contents
 

NAME

libexptcl - programmed dialogue with interactive programs in a Tcl environment - C functions  

SYNOPSIS

#include <exp_main.h>

cc files... -lexptcl -ltcl

 

DESCRIPTION

This is a placeholder for a description of a library for programs that want to use Expect with Tcl. Until this entry is completed, use the file exp_main_exp.c in the Expect distribution as a prototype main.

Briefly, this library allows C programs to provide Expect commands along with Tcl commands. See the Tcl documentation on how to integrate Tcl with a C program (the tclTest program is a good example). To add the Expect calls, add include the file "exp_main.h" and a call to exp_init(interp), where interp has been defined from Tcl_CreateInterp().

Expect's main (in exp_main_exp.c) is an example of this.  

AUTHOR

Don Libes, libes@cme.nist.gov, National Institute of Standards and Technology

Design and implementation of the expect library was paid for by the U.S. government and is therefore in the public domain. However the author and NIST would like credit if this program and documentation or portions of them are used.


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR

This document was created by man2html, using the manual pages.
Time: 17:13:33 GMT, January 16, 2023